package com.example.demo.client.vm.sysbasequery;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.ibatis.type.Alias;

import java.io.Serializable;
import java.util.Date;

/**
 * @Author zhengmf
 * @Date 2019/1/8  17:24
 */
@Alias("QueryArticleVm")
@ApiModel("帮助目录管理查询文章")
public class QueryArticleVm implements Serializable {
    private static final long serialVersionUID = -7528060920869964603L;
    @ApiModelProperty("文章ID")
    private Long articleId;
    @ApiModelProperty("文章标题")
    private String articleTitle;
    @ApiModelProperty("文章关键字")
    private String articleKeyword;
    @ApiModelProperty("文章内容")
    private String articleContent;
    @ApiModelProperty("创建人")
    private String createUser;
    @ApiModelProperty("创建时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createTime;
    @ApiModelProperty("修改人")
    private String modifyUser;
    @ApiModelProperty("修改时间")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date modifyTime;
    @ApiModelProperty("排序顺序")
    private Integer orderNumber;
    @ApiModelProperty("目录名称")
    private String catalogName;

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public Long getArticleId() {
        return articleId;
    }

    public void setArticleId(Long articleId) {
        this.articleId = articleId;
    }

    public String getArticleTitle() {
        return articleTitle;
    }

    public void setArticleTitle(String articleTitle) {
        this.articleTitle = articleTitle;
    }

    public String getArticleKeyword() {
        return articleKeyword;
    }

    public void setArticleKeyword(String articleKeyword) {
        this.articleKeyword = articleKeyword;
    }

    public String getArticleContent() {
        return articleContent;
    }

    public void setArticleContent(String articleContent) {
        this.articleContent = articleContent;
    }

    public String getCreateUser() {
        return createUser;
    }

    public void setCreateUser(String createUser) {
        this.createUser = createUser;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifyUser() {
        return modifyUser;
    }

    public void setModifyUser(String modifyUser) {
        this.modifyUser = modifyUser;
    }

    public Integer getOrderNumber() {
        return orderNumber;
    }

    public void setOrderNumber(Integer orderNumber) {
        this.orderNumber = orderNumber;
    }

    public String getCatalogName() {
        return catalogName;
    }

    public void setCatalogName(String catalogName) {
        this.catalogName = catalogName;
    }

    @Override
    public String toString() {
        return "QueryArticleVm{" +
            "modifyTime=" + modifyTime +
            ", articleId=" + articleId +
            ", articleTitle='" + articleTitle + '\'' +
            ", articleKeyword='" + articleKeyword + '\'' +
            ", articleContent='" + articleContent + '\'' +
            ", createUser='" + createUser + '\'' +
            ", createTime=" + createTime +
            ", modifyUser='" + modifyUser + '\'' +
            ", orderNumber=" + orderNumber +
            ", catalogName='" + catalogName + '\'' +
            '}';
    }
}
